require('module-alias/register')
const Koa = require('koa')
const parser = require('koa-parser')
const InitManager = require('@root/core/init')
const exception = require('@root/middlewares/exception')

const app = new Koa()

app.use(exception)
app.use(parser())

InitManager.init(app)

app.listen(3000, () => {
    console.log("*********App working on port 3000*************")
})